<?php 
require_once('inc/conn.php');
    $sql="DELETE FROM slide WHERE id='".$_GET['id']."'";
    mysql_query($sql);
    echo "<script>alert('删除成功!');window.location.href='slide_list.php'</script>";
    mysql_close($conn);
 ?>